#ifndef __SOUND_H
#define __SOUND_H

typedef struct
{
	s8int *name;	//every audio file needs a name!
	u16int *data;	//a pointer to the 16bit sound data
	u32int length;	//the length of the song in samples
	u32int sps;		//samples per second
	u32int bbs;		//bbs = bits between samples	
}audio_16bit_t;

void init_sound(void);
void beep(u32int hz, u32int num_beeps, u32int beep_ms, u32int delay_ms);

void play_audio_16bit(audio_16bit_t *a);
void init_audio_16bit(audio_16bit_t *a);
#endif
